package com.zerui.manager.web.cmd;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * @Author wh
 * @create_time 2023-05-31 11:15
 */
@Getter
@Setter
@ToString
public class DeviceGroupUpdateCmd extends DeviceGroupAddCmd{

    @ApiModelProperty(value="分组id")
    @NotNull(message = "分组id不能为空")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

}
